/*
 * @Author: cl
 * @Description: 帮助文件
 * @Date: 2023-05-06 16:53:46
 * @LastEditTime: 2023-05-06 17:50:52
 * @FilePath: \jsnode\nestjs\naota\prisma\help.ts
 * @LastEditors: cl
 */

import { PrismaClient } from "@prisma/client";

const prisma = new PrismaClient()
export function initMock(count:number,callback:(prisma:PrismaClient)=>void){
    for(let i=0;i<count;i++){
        callback(prisma)
    }
}